package com.sg.bean;

/**
 * @author zl
 * 购物车商品关系表
 */

public class ShopCommodity {

    /**
     * 购物车商品关系编号
     */
    private int scId;

    /**
     *购物车编号
     */
    private int shopId;

    /**
     *商品编号
     */
    private int comId;

    /**
     *商品数量
     */
    private int coNumber;

    /**
     * 商品总价
     */
    private int coPrinces;

    @Override
    public String toString() {
        return "ShopCommodity{" +
                "scId=" + scId +
                ", shopId=" + shopId +
                ", comId=" + comId +
                ", coNumber=" + coNumber +
                ", coPrinces=" + coPrinces +
                '}';
    }

    public int getScId() {
        return scId;
    }

    public void setScId(int scId) {
        this.scId = scId;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public int getComId() {
        return comId;
    }

    public void setComId(int comId) {
        this.comId = comId;
    }

    public int getCoNumber() {
        return coNumber;
    }

    public void setCoNumber(int coNumber) {
        this.coNumber = coNumber;
    }

    public int getCoPrinces() {
        return coPrinces;
    }

    public void setCoPrinces(int coPrinces) {
        this.coPrinces = coPrinces;
    }

    public ShopCommodity() {
    }

    public ShopCommodity(int scId, int shopId, int comId, int coNumber, int coPrinces) {
        this.scId = scId;
        this.shopId = shopId;
        this.comId = comId;
        this.coNumber = coNumber;
        this.coPrinces = coPrinces;
    }
}
